const _baseUrl = 'https://adashxgc.ut.taobao.com/rest/gc2'

const _baseUrl2 = 'https://api.imjad.cn/cloudmusic/'
export default {

	getMallData() {
			return _baseUrl
		},
		getPlayListByWhere(cat, order, offset, total, limit) {
			return _baseUrl + '?type=topPlayList&cat=' + cat + '&offset=' + offset + '&limit=' + limit
		},
		getLrc(id) {
			return _baseUrl2 + '?type=lyric&id=' + id
		},
		getSong(id) {
			return _baseUrl + '?type=url&id=' + id
		},
		getPlayListDetail(id) {
			return _baseUrl2 + '?type=playlist&id=' + id
		},
		getMv(id) {
			return _baseUrl2 + '?type=mv&id=' + id
		},
		search(words) {
			return _baseUrl2 + '?type=search&s=' + words
		}
}